Service Layer on Tomcat

  1. Create a directory on the Tomcat server to store various configuration files for OIPA (i.e., /Tomcat/shared or D:\Tomcat\shared).

  2. Create subdirectories inside the directory from Step 1 called conf and lib.

  3. Copy PASService-Tomcat.war file from the OIPA distribution zip file into the webapps subdirectory of Tomcat server (Ex : /Tomcat/webapps or D:\Tomcat\webapps).

  4. Rename the war to PASService.war.

  5. Copy the following configuration files from PASService-Tomcat-distribution.zip/conf directory into the \shared\conf directory under Tomcat server.

    1. service-coherence-cache-config.xml

    2. service-coherence-config.xml

    3. Configuration.properties

    4. Service.properties

    5. EDKeyValue.dat

    6. logging.properties

    7. oipakeystore.p12

  6. Copy the database drivers for your database into lib directory of Tomcat (%Tomcat_Home%/lib folder).

    1. Oracle – No need to copy this driver. It is already part of the War lib folder.

      Note: Version 26.1.0.0 is also supported on Oracle 19c, which is LTS (Long Term Support). If Oracle 19c is used, the corresponding supported ojdbc driver version shipped with Oracle database should be used in the step above.

    2. Microsoft SQL Server – Use the compatible jdbc driver shipped with MS SQL Server software. These files are not available for download. Contact your IT department if you need assistance locating these files.

    3. IBM DB2 – Use the compatible jdbc driver shipped with DB2 software. These files are not available for download. Contact your IT department if you need assistance locating these files.

  7. Use a text editor to open the Service.properties file that you just copied to the server. The Service.properties file contains properties for Oracle, SQL Server and DB2 database types, with the Oracle settings active by default. The inactive settings are commented out with a '#' character at the start of each line. To change a setting, remove the '#' from the required property setting, and insert it at the beginning of the setting you want to de-activate.

  8. The property application.encryptDecryptFilePath should point to the EDKeyValue.dat in the shared/conf.

  9. The properties setting must match the type of database being used. Please refer to the System Properties document in the Oracle Insurance Policy Administration E91417_01 Documentation Library on the OTN for a complete list of all properties and allowed values.

    1. application.databaseType

    2. jpa.databasePlatform

    3. The property application.encryptDecryptFilePath is deprecated and will be removed in future release. It is recommended to use application.keyStorePath and application.keyStoreAlias.

    4. application.keyStorePath - Absolute path including file name where the oipakeystore.p12 is located. Example: application.keyStorePath = /scratch/oipa/Oracle/oipa/conf/oipakeystore.p12.

    5. application.keyStoreAlias - The alias is a unique identifier for the key entry (secret key) in the keystore.Do not modify this value unless the customer rotates the encryption key.

  10. Use a text editor to open the logging.properties file that you just copied to the server.

    1. Edit the path mention for property "java.util.logging.FileHandler.pattern" with new application log location i.e. if application log location is /home/ServiceLayer/logs then set this value as java.util.logging.FileHandler.pattern = %h/ServiceLayer/logs/servicelayer%u.log. Also same time make sure that directory is created and has r/w permission.